package com.lh.runmanage.service;

import com.lh.runmanage.dto.MenuAuthorityDto;
import com.lh.runmanage.dto.MenuAuthorityJ6Dto;
import com.lh.runmanage.model.InPutParam.MenuAuthorityInParam;
import com.lh.runmanage.model.InPutParam.MenuAuthorityJ6InParam;
import com.lh.runmanage.model.InPutParam.MenuHistoryModel;
import com.lh.runmanage.model.InPutParam.WeightNumInParam;
import com.lh.runmanage.model.MenuHistoryListModel;
import com.lh.runmanage.model.WeigthBaseModel;

import java.util.List;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-21 14:43
 * @function
 * @editLog
 */
public interface MenuAuthorityService {
    List<MenuHistoryListModel> selectHistoryCount(MenuHistoryModel menuHistoryModel);

    WeigthBaseModel getWeigthNum(WeightNumInParam weightNumInParam);
    /**
     * 展示端方法：D7
     *
     * @param menuAuthorityInParam 主键
     * @return 界面加权平均值
     */
    List<MenuAuthorityDto> selectMenuAuthorityOrderBy(MenuAuthorityInParam menuAuthorityInParam);
    /**
     * 展示端方法：J6
     *
     * @param menuAuthorityJ6InParam com.lh.runmanage.model.InPutParam.MenuAuthorityJ6InParam
     * @return 界面加权平均值
     */
    List<MenuAuthorityJ6Dto> selectMenuAuthorityByProjectIdAndCreateData(MenuAuthorityJ6InParam menuAuthorityJ6InParam);

    List<MenuAuthorityDto> selectMenuAuthorityGroupBy(MenuAuthorityInParam menuAuthorityInParam);

}